package com.gper.edu.vip.designer.demeter;

/**
 * @Author: ellis.guan
 * @Description: 卖家
 * @Date: 2020/2/28 23:00
 * @Version: 1.0
 */
public class Postman {
    //邮递员要配送快递，邮递员与货物存在配送业务
    private Good good;
    public Postman(Good good){
        this.good = good;
    }
    public void deliver(){
        System.out.println("邮递员配送"+good.getName());
    }
}
